package com.tutu.flow.service;

public interface IModelRollBackSerivce {

	/**
	 * 回退到上一节点
	 * @param taskId
	 * @throws Exception
	 */
	void rollBackWorkFlow(String taskId) throws Exception;
	/**
	 * 回退到指定节点
	 * @param taskId
	 * @param destTaskKey
	 * @throws Exception
	 */
	void rollBackToAssignWorkFlow(String taskId, String destTaskKey) throws Exception;
}
